<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

/**
 * 菜单信息
 */
return [
  [
    'title' => '策略中心',
    'icon' => 'fa fa-fw fa-connectdevelop',
    'url_type' => 'module',
    'url_value' => 'tactics/index/index',
    'url_target' => '_self',
    'online_hide' => 0,
    'sort' => 100,
    'child' => [
      [
        'title' => '销售策略',
        'icon' => 'fa fa-fw fa-book',
        'url_type' => 'module',
        'url_value' => 'tactics/price/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
        'child' => [
          [
            'title' => '新增',
            'icon' => 'fa fa-fw fa-plus',
            'url_type' => 'module',
            'url_value' => 'tactics/price/add',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
          [
            'title' => '启用',
            'icon' => 'fa fa-fw fa-check',
            'url_type' => 'module',
            'url_value' => 'tactics/price/enable',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
          [
            'title' => '禁用',
            'icon' => 'fa fa-fw fa-minus',
            'url_type' => 'module',
            'url_value' => 'tactics/price/disable',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
          [
            'title' => '删除',
            'icon' => 'fa fa-fw fa-remove',
            'url_type' => 'module',
            'url_value' => 'tactics/price/delete',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
        ],
      ],
      [
        'title' => '标签策略',
        'icon' => 'fa fa-fw fa-bookmark',
        'url_type' => 'module',
        'url_value' => 'tactics/tags/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
        'child' => [
          [
            'title' => '编辑',
            'icon' => 'fa fa-fw fa-pencil',
            'url_type' => 'link',
            'url_value' => 'tactics/tags/edit',
            'url_target' => '_self',
            'online_hide' => 0,
            'sort' => 100,
          ],
        ],
      ],
      [
        'title' => '支付策略',
        'icon' => 'fa fa-fw fa-dollar',
        'url_type' => 'module',
        'url_value' => 'tactics/pay/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
      ],
      [
        'title' => '发票策略',
        'icon' => 'fa fa-fw fa-newspaper-o',
        'url_type' => 'module',
        'url_value' => 'tactics/invoice/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
      ],
      [
        'title' => '单据策略',
        'icon' => 'fa fa-fw fa-files-o',
        'url_type' => 'module',
        'url_value' => 'tactics/order/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
      ],
      [
        'title' => '相关配置',
        'icon' => 'fa fa-fw fa-cubes',
        'url_type' => 'module',
        'url_value' => 'tactics/attr/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
        'child' => [
          [
            'title' => '新增',
            'icon' => 'fa fa-fw fa-plus',
            'url_type' => 'module',
            'url_value' => 'tactics/attr/add',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
          [
            'title' => '禁用',
            'icon' => 'fa fa-fw fa-remove',
            'url_type' => 'module',
            'url_value' => 'tactics/attr/disable',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
          [
            'title' => '编辑',
            'icon' => 'fa fa-fw fa-pencil',
            'url_type' => 'module',
            'url_value' => 'tactics/attr/edit',
            'url_target' => '_self',
            'online_hide' => 1,
            'sort' => 100,
          ],
        ],
      ],
      [
        'title' => '测试专用',
        'icon' => 'fa fa-fw fa-arrows-alt',
        'url_type' => 'module',
        'url_value' => 'tactics/attr/test',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
      ],
    ],
  ],
];
